{include file="header.tpl" title="Them moi glmast "}
<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td>{$lbl_BRNCODE}</td>
    <td style="color:#FF0000"><select name="BRNCODE" size="1" id="BRNCODE" style="width:90px;" >
      {foreach from=$cboBRNCODE key=k item=v}
      <option value="{$k}" {if $k eq $BRNCODE} selected="selected" {/if} >{$k} - {$v}</option>
	  {/foreach}
    
    </select>        
      *      </td>
    <td>{$lbl_STATUS}</td>
    <td nowrap="nowrap"><span style="color:#FF0000">
      <select name="STATUS" size="1" id="STATUS" style="width:90px;" >     
    {foreach from=$cboSTATUS key=k item=v}    
        <option value="{$k}" {if $k eq $STATUS} selected="selected" {/if} >{$k} - {$v}</option>  
   {/foreach}           
      </select>
      *</span></td>
  </tr>
  <tr>
    <td>{$lbl_ACCTNO}</td>
    <td><span style="color:#FF0000">
      <input name="ACCTNO" type="text" id="ACCTNO" style="background:{$colorACCTNO}" value="{$ACCTNO}" size="15" maxlength="10" />
    *</span></td>
    <td>{$lbl_CURCODE}</td>
    <td><span style="color:#FF0000">
      <select name="CURCODE" size="1" id="CURCODE" style="width:90px;" >
             
    {foreach from=$cboCURCODE key=k item=v}
        
        <option value="{$k}" {if $k eq $CURCODE} selected="selected" {/if} >{$k} - {$v}</option>
         
   {/foreach}       
      
      </select>
    </span><span style="color:#FF0000">*</span></td>
  </tr>
  <tr>
    <td>{$lbl_ACNAME}</td>
    <td><span style="color:#FF0000">
      <input name="ACNAME" type="text" id="ACNAME" style="background:{$colorACNAME}" value="{$ACNAME}" size="30" maxlength="50" />
    *</span></td>
    <td>{$lbl_FCYCODE}</td>
    <td nowrap="nowrap"><span style="color:#FF0000">
      <select name="FCYCODE" size="1" id="FCYCODE" style="width:90px;" >
         
    {foreach from=$cboFCYCODE key=k item=v}      
  
        <option value="{$k}" {if $k eq $FCYCODE} selected="selected" {/if} >{$k} - {$v}</option>
        
   {/foreach}            

      </select>
      *</span></td>
  </tr>
  <tr>
    <td>{$lbl_DORC}</td>
    <td><select name="DORC" size="1" id="DORC" style="width:90px;" >
    {foreach from=$cboDORC key=k item=v}
      <option value="{$k}" {if $k eq $DORC} selected="selected" {/if} >{$k} - {$v}</option>
   {/foreach}
        </select>    </td>
    <td nowrap="nowrap">{$lbl_CURBAL}</td>
    <td><span style="color:#FF0000">
      <input name="CURBAL" id="CURBAL" type="text"  value="{$CURBAL}" size="20" style="background:{$colorCURBAL}" maxlength="20" />
      *</span></td>
  </tr>
  <tr>
    <td>{$lbl_TYPE}</td>
    <td><span style="color:#FF0000">
<select name="TYPE" size="1" id="TYPE" style="width:90px;" >
    {foreach from=$cboTYPE key=k item=v}
  <option value="{$k}" {if $k eq $TYPE} selected="selected" {/if} >{$k} - {$v}</option>
   {/foreach}       
</select>    
*</span></td>
    <td nowrap="nowrap">{$lbl_OPNBAL}</td>
    <td><span style="color:#FF0000">
      <input name="OPNBAL" id="OPNBAL" type="text"  value="{$OPNBAL}" size="20" style="background:{$colorOPNBAL}" maxlength="20" />
      *</span></td>
  </tr>
  
  <tr>
  	<td colspan="4"><hr/></td>
  </tr>
  
  <tr>
    <td>{$lbl_LTDCREDIT}</td>
    <td><span style="color:#FF0000">
      <input name="LTDCREDIT" id="LTDCREDIT" type="text"  value="{$LTDCREDIT}" size="20" style="background:{$colorLTDCREDIT}" maxlength="20" />
      *</span></td>
    <td width="20%">{$lbl_LTDDEBIT}</td>
    <td><span style="color:#FF0000">
      <input name="LTDDEBIT" id="LTDDEBIT" type="text"  value="{$LTDDEBIT}" size="20" style="background:{$colorLTDDEBIT}" maxlength="20" />
      *</span></td>
  </tr>
  <tr>
    <td>{$lbl_LTDCRCNT}</td>
    <td><span style="color:#FF0000">
      <input name="LTDCRCNT" id="LTDCRCNT" type="text"  value="{$LTDCRCNT}" size="20" style="background:{$colorLTDCRCNT}" maxlength="5" />
      *</span></td>
    <td>{$lbl_LTDDBCNT}</td>
    <td><span style="color:#FF0000">
      <input name="LTDDBCNT" id="LTDDBCNT" type="text"  value="{$LTDDBCNT}" size="20" style="background:{$colorLTDDBCNT}" maxlength="5" />
      *</span></td>
  </tr>
 	<tr>
		<td colspan="4"><hr /></td>
	</tr>
  <tr>
    <td>{$lbl_LSTYBAL}</td>
    <td><span style="color:#FF0000">
      <input name="LSTYBAL" type="text" id="LSTYBAL" style="background:{$colorLSTYBAL}; text-align:right;" onchange="allowOnlyFloatingPointNumbers(this,this.value);" onkeypress="return numberOnly(event);"  value="{$LSTYBAL}" size="20" maxlength="20"/>
      *</span></td>
    <td nowrap="nowrap">&nbsp;</td>
      <td nowrap="nowrap">&nbsp;</td></tr>
  <tr>
    <td>{$lbl_YTDCREDIT}</td>
    <td nowrap="nowrap"><input name="YTDCREDIT" id="YTDCREDIT" type="text" style="background:{$colorYTDCREDIT}" value="{$YTDCREDIT}" size="20" maxlength="20" />
        <span style="color:#FF0000">*</span></td>
    <td nowrap="nowrap">{$lbl_YTDDEBIT}</td>
    <td nowrap="nowrap"><span style="color:#FF0000">
      <input name="YTDDEBIT" id="YTDDEBIT" type="text"  value="{$YTDDEBIT}" style="background:{$colorYTDDEBIT}" size="20" maxlength="20" />
      *</span></td>
  </tr>
  <tr>
    <td>{$lbl_YTDCRCNT}</td>
    <td nowrap="nowrap"><input name="YTDCRCNT" type="text" id="YTDCRCNT" style="background:{$colorYTDCRCNT}; text-align:right;" onblur="checkDecimal(this,this.value)" onchange="allowOnlyFloatingPointNumbers(this,this.value);" onkeypress="return numberOnly(event);" value="{$YTDCRCNT}" size="20" maxlength="5"/>
        <span style="color:#FF0000">*</span></td>
    <td>{$lbl_YTDDBCNT}</td>
    <td><span style="color:#FF0000">
      <input name="YTDDBCNT" id="YTDDBCNT" type="text"  value="{$YTDDBCNT}" style="background:{$colorYTDDBCNT}" size="20" maxlength="5" />
      *</span></td>
  </tr>
  <tr>
  	<td colspan="4"><hr /></td>
  </tr>
  <tr>
    <td>{$lbl_LSTQBAL}</td>
    <td><span style="color:#FF0000">
      <input name="LSTQBAL" id="LSTQBAL" type="text"  value="{$LSTQBAL}" style="background:{$colorLSTQBAL}" size="20" maxlength="20" />
      *</span></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>{$lbl_QTDCREDIT}</td>
    <td><span style="color:#FF0000">
      <input name="QTDCREDIT" id="QTDCREDIT" type="text"  value="{$QTDCREDIT}" style="background:{$colorQTDCREDIT}" size="20" maxlength="20" />
      *</span></td>
    <td>{$lbl_QTDDEBIT}</td>
    <td><span style="color:#FF0000">
      <input name="QTDDEBIT" id="QTDDEBIT" type="text"  value="{$QTDDEBIT}" style="background:{$colorQTDDEBIT}" size="20" maxlength="20" />
      *</span></td>
  </tr>
  <tr>
    <td>{$lbl_QTDCRCNT}</td>
    <td><span style="color:#FF0000">
      <input name="QTDCRCNT" id="QTDCRCNT" type="text"  value="{$QTDCRCNT}" style="background:{$colorQTDCRCNT}" size="20" maxlength="5" />
      *</span></td>
    <td>{$lbl_QTDDBCNT}</td>
    <td><span style="color:#FF0000">
      <input name="QTDDBCNT" id="QTDDBCNT" type="text"  value="{$QTDDBCNT}" style="background:{$colorQTDDBCNT}" size="20" maxlength="5" />
      *</span></td>
  </tr>
  <tr>
  	<td colspan="4"><hr /></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_LSTMBAL}</td>
    <td><span style="color:#FF0000">
      <input name="LSTMBAL" id="LSTMBAL" type="text"  value="{$LSTMBAL}" style="background:{$colorLSTMBAL}" size="20" maxlength="20" />
      *</span></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_MTDCREDIT}</td>
    <td><span style="color:#FF0000">
      <input name="MTDCREDIT" id="MTDCREDIT" type="text"  value="{$MTDCREDIT}" style="background:{$colorMTDCREDIT}" size="20" maxlength="20" />
      *</span></td>
    <td nowrap="nowrap">{$lbl_MTDDEBIT}</td>
    <td><span style="color:#FF0000">
      <input name="MTDDEBIT" id="MTDDEBIT" type="text"  value="{$MTDDEBIT}" style="background:{$colorMTDDEBIT}" size="20" maxlength="20" />
      *</span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_MTDCRCNT}</td>
    <td><span style="color:#FF0000">
      <input name="MTDCRCNT" id="MTDCRCNT" type="text"  value="{$MTDCRCNT}" style="background:{$colorMTDCRCNT}" size="20" maxlength="5" />
      *</span></td>
    <td nowrap="nowrap">{$lbl_MTDDBCNT}</td>
    <td><span style="color:#FF0000">
      <input name="MTDDBCNT" id="MTDDBCNT" type="text"  value="{$MTDDBCNT}" style="background:{$colorMTDDBCNT}" size="20" maxlength="5" />
      *</span></td>
  </tr>
  <tr>
  	<td colspan="4"><hr /></td>
  <tr>
    <td nowrap="nowrap">{$lbl_WTDCREDIT}</td>
    <td><span style="color:#FF0000">
      <input name="WTDCREDIT" id="WTDCREDIT" type="text"  value="{$WTDCREDIT}" style="background:{$colorWTDCREDIT}" size="20" maxlength="20" />
      *</span></td>
    <td nowrap="nowrap">{$lbl_WTDDEBIT}</td>
    <td><span style="color:#FF0000">
      <input name="WTDDEBIT" id="WTDDEBIT" type="text"  value="{$WTDDEBIT}" style="background:{$colorWTDDEBIT}" size="20" maxlength="20" />
      *</span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_WTDCRCNT}</td>
    <td><span style="color:#FF0000">
      <input name="WTDCRCNT" id="WTDCRCNT" type="text"  value="{$WTDCRCNT}" style="background:{$colorWTDCRCNT}" size="20" maxlength="5" />
      *</span></td>
    <td nowrap="nowrap">{$lbl_WTDDBCNT}</td>
    <td><span style="color:#FF0000">
      <input name="WTDDBCNT" id="WTDDBCNT" type="text"  value="{$WTDDBCNT}" style="background:{$colorWTDDBCNT}" size="20" maxlength="5" />
      *</span></td>
  </tr>
  <tr>
  	<td colspan="4"><hr /></td>
  </tr>
  <tr>
    <td>{$lbl_YSTBAL}</td>
    <td><span style="color:#FF0000">
      <input name="YSTBAL" id="YSTBAL" type="text"  value="{$YSTBAL}" style="background:{$colorYSTBAL}" size="20" maxlength="20" />
      *</span></td>
    <td>&nbsp;</td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td>{$lbl_YSTCREDIT}</td>
    <td><span style="color:#FF0000">
      <input name="YSTCREDIT" id="YSTCREDIT" type="text"  value="{$YSTCREDIT}" style="background:{$colorYSTCREDIT}" size="20" maxlength="20" />
      *</span></td>
    <td>{$lbl_YSTDEBIT}</td>
    <td><span style="color:#FF0000">
      <input name="YSTDEBIT" id="YSTDEBIT" type="text"  value="{$YSTDEBIT}" style="background:{$colorYSTDEBIT}" size="20" maxlength="20" />
      *</span></td>
  </tr>
  <tr>
    <td>{$lbl_YSTCRCNT}</td>
    <td><span style="color:#FF0000">
      <input name="YSTCRCNT" id="YSTCRCNT" type="text"  value="{$YSTCRCNT}" style="background:{$colorYSTCRCNT}" size="20" maxlength="5" />
      *</span></td>
    <td>{$lbl_YSTDBCNT}</td>
    <td><span style="color:#FF0000">
      <input name="YSTDBCNT" id="YSTDBCNT" type="text"  value="{$YSTDBCNT}" style="background:{$colorYSTDBCNT}" size="20" maxlength="5" />
      *</span></td>
  </tr>
  <tr>
  	<td colspan="4"><hr /></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_TDYCREDIT}</td>
    <td><span style="color:#FF0000">
      <input name="TDYCREDIT" id="TDYCREDIT" type="text"  value="{$TDYCREDIT}" style="background:{$colorTDYCREDIT}" size="20" maxlength="20" />
      *</span></td>
    <td nowrap="nowrap">{$lbl_TDYDEBIT}</td>
    <td><span style="color:#FF0000">
      <input name="TDYDEBIT" id="TDYDEBIT" type="text"  value="{$TDYDEBIT}" style="background:{$colorTDYDEBIT}" size="20" maxlength="20" />
      *</span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_TDYCRCNT}</td>
    <td><span style="color:#FF0000">
      <input name="TDYCRCNT" id="TDYCRCNT" type="text"  value="{$TDYCRCNT}" style="background:{$colorTDYCRCNT}" size="20" maxlength="5" />
      *</span></td>
    <td nowrap="nowrap">{$lbl_TDYDBCNT}</td>
    <td><span style="color:#FF0000">
      <input name="TDYDBCNT" id="TDYDBCNT" type="text"  value="{$TDYDBCNT}" style="background:{$colorTDYDBCNT}" size="20" maxlength="5" />
      *</span></td>
  </tr>
  <tr>
  	<td colspan="4"><hr /> </td>
  </tr>
  <tr>
    <td>{$lbl_AVGMTD}</td>
    <td><span style="color:#FF0000">
      <input name="AVGMTD" id="AVGMTD" type="text"  value="{$AVGMTD}" style="background:{$colorAVGMTD}" size="20" maxlength="20" />
      *</span></td>
    <td>{$lbl_AVGYTD}</td>
    <td><span style="color:#FF0000">
      <input name="AVGYTD" id="AVGYTD" type="text"  value="{$AVGYTD}" style="background:{$colorAVGYTD}" size="20" maxlength="20" />
      *</span></td>
  </tr>
  <tr>
    <td>{$lbl_AVGQTD}</td>
    <td><span style="color:#FF0000">
      <input name="AVGQTD" id="AVGQTD" type="text"  value="{$AVGQTD}" style="background:{$colorAVGQTD}" size="20" maxlength="20" />
      *</span></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
  	<td colspan="4"><hr /></td>
  </tr>
  <tr>
    <td>{$lbl_MTDDAYS}</td>
    <td><span style="color:#FF0000">
      <input name="MTDDAYS" id="MTDDAYS" type="text"  value="{$MTDDAYS}" style="background:{$colorMTDDAYS}" size="20" maxlength="5" />
      *</span></td>
    <td>{$lbl_YTDDAYS}</td>
    <td><span style="color:#FF0000">
      <input name="YTDDAYS" id="YTDDAYS" type="text"  value="{$YTDDAYS}" style="background:{$colorYTDDAYS}" size="20" maxlength="5" />
      *</span></td>
  </tr>
  <tr>
    <td>{$lbl_QTDDAYS}</td>
    <td><span style="color:#FF0000">
      <input name="QTDDAYS" id="QTDDAYS" type="text"  value="{$QTDDAYS}" style="background:{$colorQTDDAYS}" size="20" maxlength="5" />
      *</span></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
  	<td colspan="4"><hr /></td>
  </tr>
  
  
  <tr>
    <td nowrap="nowrap">{$lbl_LSTWBAL}</td>
    <td><span style="color:#FF0000">
      <input name="LSTWBAL" id="LSTWBAL" type="text"  value="{$LSTWBAL}" style="background:{$colorLSTWBAL}" size="20" maxlength="20" />
*</span></td>
    <td nowrap="nowrap">{$lbl_OPNDATE}</td>
    <td><span style="color:#FF0000">
      <input name="OPNDATE" id="OPNDATE" type="text"  value="{$OPNDATE}" style="background:{$colorOPNDATE}" size="20" maxlength="20" />
      *</span></td>
  </tr>
  
  <tr>
    <td nowrap="nowrap">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
<tr>
<td colspan="4">&nbsp;</td>
</tr>
<tr>
<td colspan="4" align="right">

<input type="submit" name="capnhat" value="{$ten_cap_nhat}"  class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"  /></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td>
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap"  colspan="3">
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
